<%@page import="entities.Article"%>
<%@page import="java.util.List"%>
<%
Article article = (Article) request.getAttribute("article");
%>
<jsp:include page="/demo/layouts/header.jsp" />

		<div class="dir">
			<a href="/home">Home</a>
		</div>
		
		<br />
		<div class="submit-form">
			<form action="" method="post">
			<table width="100%" cellpadding="0" cellspacing="0">
				<% if (article != null) { %>
				<thead>
					<tr>
						<td colspan="1"><%=article.getTitle() %></td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td width="30%" class="domain">
							<%=article.getContent() %>
						</td>
					</tr>
				</tbody>
				<% } else { %>
				<tbody>
					<tr>
						<td width="30%" class="domain">
							Article not exists!
						</td>
					</tr>
				</tbody>
				<% } %>
			</table>
			</form>
		</div>

<jsp:include page="/demo/layouts/footer.jsp" />